<?php
return [
	'accessKey' => [ // 在后台插件配置表单中的键名 ,会是config[text]
		'title' => 'Access Key ID', // 表单的label标题
		'type' => 'text', // 表单的类型：text,password,textarea,checkbox,radio,select等
		'value' => '', // 表单的默认值
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => 'AccessKey不能为空',
		],
		'tip' => '<a href="https://help.aliyun.com/document_detail/59031.html?spm=5176.11065259.1996646101.searchclickresult.aa2023e6E4uS0Y" target="_blank">马上获取</a>', //表单的帮助提示LTAIDAbk8U066iRe
	],
	'secretKey' => [ // 在后台插件配置表单中的键名 ,会是config[password]
		'title' => 'Accesskey Secret',
		'type' => 'text',
		'value' => '',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => 'SecretKey不能为空',
		],
		'tip' => '<a href="https://help.aliyun.com/document_detail/59031.html?spm=5176.11065259.1996646101.searchclickresult.aa2023e6E4uS0Y" target="_blank">马上获取</a>',
	],
	'protocol' => [ // 在后台插件配置表单中的键名 ,会是config[select]
		'title' => '域名协议',
		'type' => 'select',
		'options' => [ //select 和radio,checkbox的子选项
			'http' => 'http', // 值=>显示
			'https' => 'https',
		],
		'value' => 'http',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '域名协议不能为空',
		],
		'tip' => '',
	],
	'bucket' => [
		'title' => '空间名称',
		'type' => 'text',
		'value' => '',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '空间名称不能为空',
		],
		'tip' => '例如: sanduanjinmini。 如何使用阿里云添加bucket<a href="https://help.aliyun.com/document_detail/31885.html?spm=5176.8465980.home.5.43f214501gi75w" target="_blank">操作明细</a>',
	],
	'domain' => [
		'title' => '绑定域名',
		'type' => 'text',
		'value' => 'http://',
		'tip' => '例如: http://img.example.com(cn) ,<a href="https://help.aliyun.com/document_detail/31902.html?spm=5176.8466035.pg-domain.3.69de1450ZxbJEp" target="_blank">如何管理域名</a>',
	],
	'endpoint' => [
		'title' => '空间域名',
		'type' => 'text',
		'value' => '',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '空间域名不能为空',
		],
		'tip' => '例如(北京节点): oss-cn-beijing.aliyuncs.com',
	],
	'style_separator' => [
		'title' => '样式分隔符(请到oss修改默认分隔符为!)',
		'type' => 'text',
		'value' => '?',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式分隔符不能为空',
		],
		'tip' => '',
	],
	'styles_watermark' => [
		'title' => '样式-水印',
		'type' => 'text',
		'value' => ' ',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式-水印不能为空',
		],
		'tip' => '请到阿里云OSS->图片样式：添加此样式名称，并进行相应设置',
	],
	'styles_avatar' => [
		'title' => '样式-头像',
		'type' => 'text',
		'value' => 'avatar',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式-头像不能为空',
		],
		'tip' => '请到阿里云OSS->图片样式：添加此样式名称，并进行相应设置 处理接口:<br>imageView2/1/w/100/h/100/interlace/0/q/100',
	],
	'styles_thumbnail120x120' => [
		'title' => '样式-缩略图120x120',
		'type' => 'text',
		'value' => 'thumbnail120x120',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式-缩略图120x120不能为空',
		],
		'tip' => '请到阿里云OSS->图片样式：添加此样式名称，并进行相应设置<br>处理接口:<br>imageView2/1/w/120/h/120/interlace/0/q/100',
	],
	'styles_thumbnail300x300' => [
		'title' => '样式-缩略图300x300',
		'type' => 'text',
		'value' => 'thumbnail300x300',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式-缩略图300x300不能为空',
		],
		'tip' => '请到阿里云OSS->图片样式：添加此样式名称，并进行相应设置<br>处理接口:<br>imageView2/1/w/300/h/300/interlace/0/q/100',
	],
	'styles_thumbnail640x640' => [
		'title' => '样式-缩略图640x640',
		'type' => 'text',
		'value' => 'thumbnail640x640',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式-缩略图640x640不能为空',
		],
		'tip' => '请到阿里云OSS->图片样式：添加此样式名称，并进行相应设置<br>处理接口:<br>imageView2/1/w/640/h/640/interlace/0/q/100',
	],
	'styles_thumbnail1080x1080' => [
		'title' => '样式-缩略图1080x1080',
		'type' => 'text',
		'value' => 'thumbnail1080x1080',
		"rule" => [
			"require" => true,
		],
		"message" => [
			"require" => '样式-缩略图1080x1080不能为空',
		],
		'tip' => '请到阿里云OSS->图片样式：添加此样式名称，并进行相应设置<br>处理接口:<br>imageView2/1/w/1080/h/1080/interlace/0/q/100',
	],
];
